package com.atguigu.gulimall.order.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class HelloController {
    @GetMapping("/list.html")
    public String listPage(){

        return "list";
    }
    @GetMapping("/confirm.html/{page}")
    public String confirmPage(@PathVariable("page") String page){

        return "confirm";
    }
    @GetMapping("/detail.html/{page}")
    public String detailPage(@PathVariable("page") String page){

        return "detail";
    }
    @GetMapping("/pay.html/{page}")
    public String payPage(@PathVariable("page") String page){

        return "pay";
    }
}
